package com.wenlin.myproduction.util;

/**
 * @author 文琳
 * @time 2017/9/21 00:21
 * @desc 用于EventBus传数据
 */

public class TypeData<T> {
    private String name;
    private T data;

    public TypeData() {
    }

    public TypeData(String name, T data) {
        this.name = name;
        this.data = data;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
